NiftiMapsMasker Class for masking of Niimg-like objects. NiftiMapsMasker is useful when data from overlapping volumes should be extracted (contrarily to :class:`nilearn.maskers.NiftiLabelsMasker`). Use case: Summarize brain signals from large-scale networks obtained by prior PCA or :term:`ICA`. Note that, Inf or NaN present in the given input images are automatically put to zero rather than considered as missing data.

Component

image

This reports shows the spatial maps provided to the mask.

The masker has 63 spatial maps in total.

Parameters
Parameter Value
allow_overlap True
detrend False
dtype None
high_pass None
high_variance_confounds False
keep_masked_maps True
low_pass None
maps_img <class 'nibabel.nifti1.Nifti1Image'> data shape (104, 123, 104, 63) affine: [[ 2. 0. 0. -96.] [ 0. 2. 0. -132.] [ 0. 0. 2. -78.] [ 0. 0. 0. 1.]] metadata: <class 'nibabel.nifti1.Nifti1Header'> object, endian='<' sizeof_hdr : 348 data_type : b'' db_name : b'' extents : 0 session_error : 0 regular : b'' dim_info : 0 dim : [ 4 104 123 104 63 1 1 1] intent_p1 : 0.0 intent_p2 : 0.0 intent_p3 : 0.0 intent_code : none datatype : float64 bitpix : 64 slice_start : 0 pixdim : [1. 2. 2. 2. 1. 1. 1. 1.] vox_offset : 0.0 scl_slope : nan scl_inter : nan slice_end : 0 slice_code : unknown xyzt_units : 0 cal_max : 0.0 cal_min : 0.0 slice_duration : 0.0 toffset : 0.0 glmax : 0 glmin : 0 descrip : b'' aux_file : b'' qform_code : unknown sform_code : aligned quatern_b : 0.0 quatern_c : 0.0 quatern_d : 0.0 qoffset_x : -96.0 qoffset_y : -132.0 qoffset_z : -78.0 srow_x : [ 2. 0. 0. -96.] srow_y : [ 0. 2. 0. -132.] srow_z : [ 0. 0. 2. -78.] intent_name : b'' magic : b'n+1'
mask_img <class 'nibabel.nifti1.Nifti1Image'> data shape (91, 109, 91) affine: [[ -2. 0. 0. 90.] [ 0. 2. 0. -126.] [ 0. 0. 2. -72.] [ 0. 0. 0. 1.]] metadata: <class 'nibabel.nifti1.Nifti1Header'> object, endian='<' sizeof_hdr : 348 data_type : b'' db_name : b'' extents : 0 session_error : 0 regular : b'' dim_info : 0 dim : [ 3 91 109 91 1 1 1 1] intent_p1 : 0.0 intent_p2 : 0.0 intent_p3 : 0.0 intent_code : none datatype : uint8 bitpix : 8 slice_start : 0 pixdim : [-1. 2. 2. 2. 1. 1. 1. 1.] vox_offset : 0.0 scl_slope : nan scl_inter : nan slice_end : 0 slice_code : unknown xyzt_units : 0 cal_max : 0.0 cal_min : 0.0 slice_duration : 0.0 toffset : 0.0 glmax : 0 glmin : 0 descrip : b'' aux_file : b'' qform_code : unknown sform_code : aligned quatern_b : 0.0 quatern_c : 1.0 quatern_d : 0.0 qoffset_x : 90.0 qoffset_y : -126.0 qoffset_z : -72.0 srow_x : [-2. 0. 0. 90.] srow_y : [ 0. 2. 0. -126.] srow_z : [ 0. 0. 2. -72.] intent_name : b'' magic : b'n+1'
memory Memory(location=None)
memory_level 0
reports True
resampling_target data
smoothing_fwhm None
standardize zscore_sample
standardize_confounds True
t_r None
verbose 5